package com.xszx.service;

import com.xszx.dao.RoleDao;
import com.xszx.entity.Role;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class RoleService {
    @Autowired
    private RoleDao roleDao;
    public List<Role> getRoleList() {
        return roleDao.getRoleList();
    }
}
